package lcsRec;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

public class RecursiveLCSTest {



	@Before
	public void setUp() throws Exception {
	}

	@Test
	public void testFindLCS() {
		String s=RecursiveLCS.findLCS("abc", "bac");
		assertTrue(s.equals("ac") || s.equals("bc"));
		s=RecursiveLCS.findLCS("raffaelecafaro", "francescodemartino");
		assertTrue(s.equals("faecaro"));
	}

}
